package com.akxy.pt.tsdb.influxdb.operator;

/**
 * @author Mengfly
 */
public class AggregateWindowOperator implements Operator{

    private final String every;
    private final String fn;

    public AggregateWindowOperator(String every, String fn) {
        this.every = every;
        this.fn = fn;
    }

    @Override
    public String operatorString() {
        return String.format("|> aggregateWindow(every: %s, fn: %s)", every, fn);
    }
}
